package cn.ycms.jdbc.support;

import java.sql.ResultSet;
import java.sql.SQLException;

import cn.ycms.jdbc.RowMapper;



public class StringRowMapper implements RowMapper<String> {

	public String mapper(ResultSet rs) throws SQLException {
		if (rs.next()) {
			return rs.getString(1);
		}
		return "";
	}

}
